<template>
  <div>
    <NavBar>
      <span>详情</span>
    </NavBar>
  </div>
</template>

<script>
import { ref } from '@vue/reactivity'
import { useRoute } from 'vue-router'
export default {
  setup() {
    const route = useRoute()
    let id = ref(0)
    id.value = route.query.id
    return {
      id
    }    
  }
}
</script>

<style>

</style>